﻿// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Exporters/FbxExportOption.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "SmartAnimSequenceExtensions.generated.h"

/**
 * 
 */
UCLASS()
class SMARTPYTHONEXTENSIONS_API USmartAnimSequenceExtensions: public UBlueprintFunctionLibrary
{
	GENERATED_BODY()
public:
	UFUNCTION(BlueprintCallable, Category="Sequence Extender")
	static bool SmClipByFrame(UAnimSequence* AnimSequence, int StartFrame, int EndFrame);

	UFUNCTION(BlueprintCallable, Category="Sequence Extender")
	static bool SmClipByTime(UAnimSequence* AnimSequence, float StartTime, float EndTime);

	UFUNCTION(BlueprintCallable, Category="Sequence Extender")
	static float SmGetRate(UAnimSequence* AnimSequence);

	UFUNCTION(BlueprintCallable, Category="Sequence Extender")
	static void SmExportFbx(UAnimSequence* AnimSequence, FString OutPath, UFbxExportOption* Options);
	
};